load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
    name = "integration_test_test",
    timeout = "short",
    srcs = [
        "integration_test.go",
        "main_test.go",
    ],
    flaky = True,
    shard_count = 43,
    deps = [
        "//pkg/config",
        "//pkg/domain",
        "//pkg/errno",
        "//pkg/expression",
        "//pkg/kv",
        "//pkg/meta/model",
        "//pkg/parser/auth",
        "//pkg/parser/model",
        "//pkg/parser/mysql",
        "//pkg/parser/terror",
        "//pkg/planner/core",
        "//pkg/planner/core/base",
        "//pkg/planner/core/operator/logicalop",
        "//pkg/planner/core/resolve",
        "//pkg/session",
        "//pkg/sessionctx/variable",
        "//pkg/store/mockstore",
        "//pkg/tablecodec",
        "//pkg/testkit",
        "//pkg/testkit/testmain",
        "//pkg/testkit/testsetup",
        "//pkg/types",
        "//pkg/util/codec",
        "//pkg/util/collate",
        "//pkg/util/sem",
        "//pkg/util/timeutil",
        "//pkg/util/versioninfo",
        "@com_github_pingcap_errors//:errors",
        "@com_github_pingcap_failpoint//:failpoint",
        "@com_github_stretchr_testify//assert",
        "@com_github_stretchr_testify//require",
        "@com_github_tikv_client_go_v2//oracle",
        "@com_github_tikv_client_go_v2//tikv",
        "@org_uber_go_goleak//:goleak",
    ],
)
